﻿@model PeopleViewModel
@{
    ViewBag.Title = "Fabrikan Inc. | People";
}

<div class="page-header">
    <h1>People</h1>
</div>

<div class="row">
    <div class="col-md-12">

        <div class="panel panel-default" style="margin-top: -5px;">
            <div class="panel-body">

                <div class="col-md-3 hidden-xs hidden-sm">
                    @*@Html.Action("AboutMenu")*@ @*if you want to use this, change to InstancePerDependency()*@
                    @Html.Partial("_AboutMenu")
                </div>

                <div class="col-md-6">
                    <fieldset>
                        <legend>Fabrikam Employee Profiles</legend>

                        <div id="TargetDiv">
                            @Html.Partial("_People", @Model.People)
                        </div>
                    </fieldset>
                </div>

                <div class="visible-xs visible-sm visible-md shimTop15">&nbsp;</div>

                <div class="col-md-3" style="background: #F9F9FB;">
                    @Html.Partial("_LifeAtFabrikamInc")
                </div>

                <div class="col-md-3 visible-xs visible-sm">
                    @Html.Partial("_AboutMenu")
                </div>

            </div>
        </div>
    </div>
</div>

@section Scripts
{
    @Scripts.Render("~/bundles/jqueryval-ajax")

    <script>
        $(document).ready(function() {
            $('#aHrefEmployees').addClass('disabled').click(function(e) {
                e.preventDefault();
            });
        });
    </script>
}
